import request from '@/utils/request'

// 查询课程表10列表
export function listCourses10(query) {
  return request({
    url: '/system/courses10/list',
    method: 'get',
    params: query
  })
}

// 查询课程表10详细
export function getCourses10(courseId) {
  return request({
    url: '/system/courses10/' + courseId,
    method: 'get'
  })
}

// 新增课程表10
export function addCourses10(data) {
  return request({
    url: '/system/courses10',
    method: 'post',
    data: data
  })
}

// 修改课程表10
export function updateCourses10(data) {
  return request({
    url: '/system/courses10',
    method: 'put',
    data: data
  })
}

// 删除课程表10
export function delCourses10(courseId) {
  return request({
    url: '/system/courses10/' + courseId,
    method: 'delete'
  })
}
